#include"Seqlist.h"

int main()
{
	SeqList L;
	InitSeqList(&L);
	InsertSeqList(&L, 0, 1);
	InsertSeqList(&L, 1, 2);
	InsertSeqList(&L, 2, 2);
	InsertSeqList(&L, 3, 4);
	InsertSeqList(&L, 4, 5);
	InsertSeqList(&L, 5, 6);
	InsertSeqList(&L, 6, 7);
	InsertSeqList(&L, 7, 8);
	InsertSeqList(&L, 8, 9);
	InsertSeqList(&L, 9, 10);
	//DeleteSeqList(&L, 3);
	ShowSeqList(&L);
	printf("%d\n", LocateElem(&L, 10));
	printf("%d\n", BinarySearch(&L, 10));
	ModifySrqList(&L, 2, 3);
	ShowSeqList(&L);
	DestorySeqlist(&L);
	ShowSeqList(&L);
	return 0;
}